<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script type="module">
    import * as storageUtils from '../utils/storageUtils.js'
    storageUtils.saveToken('abc123')
    console.log(storageUtils.getToken())
    setTimeout(() => {
      storageUtils.removeToken()
    }, 5000);

    storageUtils.saveUser({_id: 123, username: 'abc'})
    console.log(storageUtils.getUser())
    setTimeout(() => {
      storageUtils.removeUser()
    }, 5000);
  </script>
</body>
</html>